<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>eBPLS Business Permit and Licensing System</title>
        <meta name="Author" content=" PAARV ">
        <link href="stylesheets/default.css" rel="stylesheet" type="text/css">
<title></title>
</head>
<body>
<form action="index.php?part=4&class_type=Preference&selMode=<?php echo $selMode;?>&action_=8&itemEvent=1&data_item=0&orderbyasde=1" ENCTYPE="multipart/form-data" method="post">
                                                                                                 
<input type=hidden name=part value="<?php echo $part;?>">
<input type=hidden name=class_type value="<?php echo $class_type;?>">
<input type=hidden name=selMode value="<?php echo $selMode;?>">
<input type=hidden name=action_ value="<?php echo $action_;?>">
<input type=hidden name=itemEvent value="<?php echo $itemEvent;?>">
<input type=hidden name=bcode value="<?php echo $bcode;?>">
<table border=0 width=100% align=center cellspacing=0 cellpadding=0>
	<tr><td colspan=2 class=header2 align=center><?php echo $nTitle;?></td></tr>
        <tr><td colspan=2 ><br></td></tr>
        <tr><td colspan=2 ><br></td></tr>
        <tr width=100%>
                <td> &nbsp </td>
        </tr>
	<tr width=100%>
                <td> &nbsp </td>
        </tr>
        <tr width=100%>
                <td align=right valign=top> <?php echo $nTitle;?> Code : </td>
                <td align=left valign=top> &nbsp <input type=text maxlength=255 name=economic_area_code class=text180 value='<?php echo $get_info[1]; ?>'></td>
                <td> &nbsp </td>
        </tr>
        <tr width=100%>
                <td align=right valign=top> <?php echo $nTitle;?> Description : </td>
                <td align=left valign=top> &nbsp <input type=text maxlength=255 name=ebpls_fod1 class=text180 value='<?php echo $get_info[2]; ?>'></td>
                <td> &nbsp </td>
        </tr>
</table>
<table align=center border=0 cellspacing=0 cellpadding=0 width=90%>
        <tr width=100%>
                <td align=center valign=top>&nbsp</td>
        </tr>
        <tr width=100%>
                <td align=center valign=top>
                        <input type=submit value=Submit name=Submit>
                        <input type=Button value=Cancel onClick='history.go(-1);'>
                        <input type=Reset value=Reset>
                        &nbsp<br><br>
                </td>
        </tr>
</table>
</form>
<?php
$nQuery = "select * from $nTable order by $wator $ascdesc";
$nEconomic = new Economic_Area;
$nEconomic->Query1($nQuery);
$nTotalCnt = $nEconomic->dbResultOut; 
if ($nTotalCnt==0) {
        print "<br><font color=red><div align= center>&nbsp No record found&nbsp</div></font>\n";}
$cntsqlr = "select count(*) from $nTable";
$resultr = mysql_query($searchsqlr)or die ("error ".mysql_error());
// Figure out the total number of results in DB:
$total_resultsr = mysql_result(mysql_query($cntsqlr),0);
// Figure out the total number of pages. Always round up using ceil()
$total_pagesr = ceil($total_resultsr / $max_resultsr);
include'includes/pagination.php'; ?>
<table align=center border=0 cellspacing=0 cellpadding=0 width=100%>
	<tr>
		<td class=hdr> &nbsp;No.</td>
		<td class=hdr width=25%>
			<a href='index.php?part=4&class_type=Preference&selMode=<?php
echo $selMode;?>&action_=8&itemEvent=1&data_item=0&orderbyasdes=<?php echo $orderbyasdes;?>&wator=<?php echo $fld1; ?>&ordervalue=code&ascdesc1=<?php echo $ascdesc1;?>'><?php echo $nTitle;?> Code</a>&nbsp;
		</td>
		<td class=hdr>
		<a href='index.php?part=4&class_type=Preference&selMode=<?php
echo $selMode;?>&action_=8&itemEvent=1&data_item=0&orderbyasdes=<?php echo $orderbyasdes;?>&wator=<?php echo $fld2; ?>&ordervalue=desc&ascdesc1=<?php echo $ascdesc1;?>'><?php echo $nTitle;?> Description</a>&nbsp;</td>
                <td class=hdr align=center> &nbsp;Action </td>
	</tr>
<?php include'includes/economic_area_datas.php';?> 
</table>
<tr>
<td colspan=2 align=center><br>
<?php
$data_item=1;
include'tablemenu-inc.php';
?>
</td>
</tr>
</table>
                                                                                                 
                                                                                                 
</form>
</body>
</html>
